var myChart3 = echarts.init(document.getElementById('container3'));
option = {
    title: {
        top:10,
        text: '产品类型占比',
        textStyle:{//标题样式
            color: '#ccc',
            fontWeight: 'bolder',
            fontSize: 16
        },
        x:'center'
    },
    tooltip: {
        show: false
    },
    legend: {
        // type:'scroll',
        bottom: 40,
        x: 'center',
        textStyle:{//标题样式
            color: '#ccc',
            fontWeight: 'bolder'
        },
        data: ['快乐收', '炫掌柜', '一码付','智能pos', '其他']
    },
    color:['#4C8CF5','#EB7AFF','#DA585A','#A24689','#1BA261'],
    series: [{
        type: 'pie',
        radius: ['20%', '50%'],
        roseType: 'area',
        zlevel: 2,
        tooltip: {
            show: true,
            formatter: '{b}: {d}%'
        },

        label: {
            show: true,
            formatter: '{b}\n{d}%'
        },

        data: [
            {
                value: kuaile_count,
                name: '快乐收'
            },
            {
                value: xzg_count,
                name: '炫掌柜'
            },
            {
                value: yimafu_count,
                name: '一码付'
            },
            {
                value: pos_count,
                name: '智能pos'
            },
            {
                value: other_count,
                name: '其他'
            }
        ]}
    ]
};
myChart3.setOption(option);